package com.ruoyi.project.tickets.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 店铺信息对象 t_shop
 * 
 * @author 孙山伟
 * @date 2023-06-28
 */
public class Shop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 管理者姓名(作废) */
    @Excel(name = "管理者姓名(作废)")
    private String userName;

    /** 管理者id(作废) */
    @Excel(name = "管理者id(作废)")
    private Long userId;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    private String code;

    /** $column.columnComment */
    private Long id;

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("userName", getUserName())
            .append("userId", getUserId())
            .append("address", getAddress())
            .append("name", getName())
            .append("id", getId())
            .toString();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
